Visual Basic (Declaration) | |
---|---|
Public Overloads Sub AddHandler(Of T As Class)( _ ByVal targetObject As T _ ) |
C# | |
---|---|
public void AddHandler<T>( T targetObject ) where T: class |
Parameters
- targetObject
Type Parameters
- T
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7